package org.abyss.upload.resolver;

import edu.tgc.entity.file.FilePath;

public class DefaultUploadResolverFactory implements UploadResolverFactory {

    @Override
    public UploadResolver build(FilePath path) {
        if (UploadResolverFactory.File.equalsIgnoreCase(path.getProtocol())) {
            return new LocalFileUploadResolver();
        }
        return null;
    }

}
